﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="reports.aspx.cs" Inherits="Reportes_.WebForm1" %><%@ Register assembly="EO.Web" namespace="EO.Web" tagprefix="eo" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link href="TicDiseno0.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        #form1 {
            height: 1478px;
            text-align: center;
            margin-left: 1px;
        }
        .auto-style1 {
            width: 169px;
        }
        .auto-style2 {
            width: 707px;
            text-align: left;
        }
        .auto-style3 {
            color: #FFFFFF;
        }
        .auto-style5 {
            text-decoration: none;
        }
        .auto-style6 {
            width: 261px;
        }
        </style>
</head>
<body style="height: 1483px; margin-left: 0px; margin-top: 0px;">
    <form id="form1" runat="server">

        <div id="contenedor">

        <div id="cabecera">
                <table style="width: 100%; height: 66px;">
                    <tr>
                        <td class="style1">
                            <img alt="ut" class="style2" 
                                src="imagenes/logo1.png" /></td>
                        <td>
                            <img alt="ut2" class="style2" style="float:right" 
                                src="imagenes/logo2.png" /></td>
                    </tr>
                </table>
            </div>

            <div id="menu">
                <table style="width:100%; height: 25px;">
                    <tr>
                        <td class="auto-style3">
                            <a class="auto-style5" href="login.aspx"><span class="auto-style3">Accede!</span></a></td>
                        <td class="auto-style6">
                            <strong><a class="auto-style5" href="registro_asistencia.aspx"><span class="auto-style3">Registro de Asistencia</span></a></strong></td>
                        <td class="style4">
                            <strong><a class="auto-style5" href="reporte.aspx"><span class="auto-style3">Reportes</span></a></strong></td>
                            <td class="style4">
                                <strong><a class="auto-style5" href="importacion_csv.aspx"><span class="auto-style3">Importacion CSV</span></a></strong></td>
                    </tr>
                   
                </table>
            </div>

            <table style="width:100%;">
            <tr>
                <td class="auto-style1">&nbsp;</td>
                <td aria-orientation="horizontal" class="auto-style2">
        <asp:RadioButtonList ID="rbl_tipoReporte" runat="server" AutoPostBack="True" OnSelectedIndexChanged="rbl_tipoReporte_SelectedIndexChanged" style="font-size: medium; font-weight: 700; text-align: left; color: #003300;" Font-Names="Arial Narrow" ForeColor="Black">
            <asp:ListItem Value="0">Desempeño de Profesores</asp:ListItem>
            <asp:ListItem Value="1">Desempeño de Asistencia de Grupos</asp:ListItem>
        </asp:RadioButtonList>
        &nbsp; </td>
                <td>&nbsp;</td>
            </tr>

                </table>

            <div id="contenido">

            <table style="width:100%;">
            <tr>
                <td class="auto-style1">&nbsp;</td>
                <td aria-orientation="horizontal" class="auto-style2">
        <asp:MultiView ID="MultiView1" runat="server">
            <asp:View ID="View1" runat="server">
                <asp:Label ID="Label1" runat="server" style="font-weight: 700; text-decoration: underline;" Text="Desempeño de Profesores" Font-Names="Arial Narrow"></asp:Label>
                <br />
                <asp:DropDownList ID="ddl_profesores" runat="server" Height="21px" Width="159px" OnSelectedIndexChanged="ddl_profesores_SelectedIndexChanged" AutoPostBack="True">
                    <asp:ListItem>Elegir</asp:ListItem>
                    <asp:ListItem>Todos</asp:ListItem>
                </asp:DropDownList>
                <br />
                <br />
                <strong>De:</strong><eo:DatePicker ID="DatePicker_fechaIniciop" runat="server" AutoPostbackOnSelect="True" DisabledDates="" Enabled="False" OnSelectionChanged="DatePicker_fechaIniciop_SelectionChanged" PickerFormat="dd/MM/yyyy" SelectedDates=""><PopupCollapseEffect Type="GlideLeftToRight" /><CalendarStyle CssText="background-color:#999999;border-bottom-color:black;border-bottom-style:double;border-bottom-width:2px;border-left-color:black;border-left-style:double;border-left-width:2px;border-right-color:black;border-right-style:double;border-right-width:2px;border-top-color:black;border-top-style:double;border-top-width:2px;color:black;" /></eo:DatePicker>
                <strong>A:</strong><br />
                <eo:DatePicker ID="DatePicker_fechaFinp" runat="server" AutoPostbackOnSelect="True" DisabledDates="" PickerFormat="dd/MM/yyyy" SelectedDates="" Enabled="False" OnSelectionChanged="DatePicker_fechaFinp_SelectionChanged"><PopupCollapseEffect Type="GlideLeftToRight" /><CalendarStyle CssText="background-color:#999999;border-bottom-color:black;border-bottom-style:double;border-bottom-width:2px;border-left-color:black;border-left-style:double;border-left-width:2px;border-right-color:black;border-right-style:double;border-right-width:2px;border-top-color:black;border-top-style:double;border-top-width:2px;color:black;" /></eo:DatePicker>
                <br />
                <asp:GridView ID="GridView_pro" runat="server" AutoGenerateColumns="False" BorderStyle="Solid" CellPadding="4" EmptyDataText="No se encontró regístros." Font-Names="Calibri" ForeColor="#333333" GridLines="None" Height="63px" ShowFooter="True" Width="625px" OnRowDataBound="GridView_pro_RowDataBound" OnDataBound="btn_generar_Click" AllowPaging="True" BackColor="White" OnPageIndexChanging="GridView_pro_PageIndexChanging" PageSize="20" style="margin-left: 39px">
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:BoundField DataField="nombre" HeaderText="Profesor" />
                        <asp:BoundField DataField="anombre" HeaderText="Asignatura" ApplyFormatInEditMode="True" ReadOnly="True" />
                        <asp:BoundField DataField="hrRegistro" HeaderText="Hr. Registro" />
                        <asp:BoundField DataField="cantidadAlumnos" HeaderText="Asistencia" />
                        <asp:BoundField DataField="fechaRegistro" HeaderText="Fecha Registro" />
                    </Columns>
                    <EditRowStyle BackColor="#7C6F57" />
                    <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#1C5E55" BorderStyle="Dashed" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
                    <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                    <RowStyle BackColor="#E3EAEB" />
                    <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                    <SortedAscendingCellStyle BackColor="#F8FAFA" />
                    <SortedAscendingHeaderStyle BackColor="#246B61" />
                    <SortedDescendingCellStyle BackColor="#D4DFE1" />
                    <SortedDescendingHeaderStyle BackColor="#15524A" />
                </asp:GridView>
            </asp:View>
            <asp:View ID="View2" runat="server">
                <asp:Label ID="Label2" runat="server" style="font-weight: 700; text-decoration: underline;" Text="Desempeño de Asistencia de Grupos" Font-Names="Arial Narrow"></asp:Label>
                <br />
                <asp:DropDownList ID="ddl_grupos" runat="server" Height="21px" Width="159px" AutoPostBack="True" OnSelectedIndexChanged="ddl_grupos_SelectedIndexChanged">
                    <asp:ListItem>Ejegir</asp:ListItem>
                </asp:DropDownList>
                <br />
                <br />
                <strong>De:</strong><eo:DatePicker ID="DatePicker_fechaIniciog" runat="server" DisabledDates="" PickerFormat="dd/MM/yyyy" SelectedDates="" AutoPostbackOnSelect="True" OnSelectionChanged="DatePicker_fechaIniciog_SelectionChanged" Enabled="False"><PopupCollapseEffect Type="GlideLeftToRight" /><CalendarStyle CssText="background-color:#999999;border-bottom-color:black;border-bottom-style:double;border-bottom-width:2px;border-left-color:black;border-left-style:double;border-left-width:2px;border-right-color:black;border-right-style:double;border-right-width:2px;border-top-color:black;border-top-style:double;border-top-width:2px;color:black;" /></eo:DatePicker>
                <strong>A:</strong><br />
                <eo:DatePicker ID="DatePicker_fecheFing" runat="server" DisabledDates="" PickerFormat="dd/MM/yyyy" SelectedDates="" AutoPostbackOnSelect="True" Enabled="False" OnSelectionChanged="DatePicker_fecheFing_SelectionChanged"><PopupCollapseEffect Type="GlideLeftToRight" /><CalendarStyle CssText="background-color:#999999;border-bottom-color:black;border-bottom-style:double;border-bottom-width:2px;border-left-color:black;border-left-style:double;border-left-width:2px;border-right-color:black;border-right-style:double;border-right-width:2px;border-top-color:black;border-top-style:double;border-top-width:2px;color:black;" /></eo:DatePicker>
                <br />
                <asp:GridView ID="GridView_grup" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" Height="79px" Width="544px" BorderStyle="Solid" EmptyDataText="No se encontró regístros." Font-Names="Calibri" ShowFooter="True" AllowPaging="True" OnPageIndexChanging="GridView_grup_PageIndexChanging" PageSize="20" style="margin-left: 42px">
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:BoundField DataField="nombre" HeaderText="Grupo" />
                        <asp:BoundField DataField="anombre" HeaderText="Asignatura" />
                        <asp:BoundField DataField="cantidadAlumnos" HeaderText="Asistencia" />
                        <asp:BoundField DataField="poblacion" HeaderText="Población" />
                        <asp:BoundField HeaderText="Fecha de Registro" DataField="fechaRegistro" />
                    </Columns>
                    <EditRowStyle BackColor="#7C6F57" />
                    <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
                    <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                    <RowStyle BackColor="#E3EAEB" />
                    <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                    <SortedAscendingCellStyle BackColor="#F8FAFA" />
                    <SortedAscendingHeaderStyle BackColor="#246B61" />
                    <SortedDescendingCellStyle BackColor="#D4DFE1" />
                    <SortedDescendingHeaderStyle BackColor="#15524A" />
                </asp:GridView>
            </asp:View>
            <br />
        </asp:MultiView>
                </td>
                <td>&nbsp;</td>
            </tr>

                </table>

        
        <br />
        &nbsp;
        <asp:Button ID="btn_generar" runat="server" Enabled="False" OnClick="btn_generar_Click" Text="Imprimir" Visible="False" />
        <br />
        <br />
        <br />
                </div>

            </div>
    </form>
</body>
</html>
